package io.github.ilkgunel.pojo;

public class Teacher {
    /*
    教师编号tid、姓名name、性别sex、年龄age、院系名称dname
    * */
    private String _id;
    private String tid;
    private String name;
    private String sex;
    private Integer age;
    private String dname;

    public String get_id() {
        return _id;
    }

    public void set_id(String _id) {
        this._id = _id;
    }

    public String getTid() {
        return tid;
    }

    public void setTid(String tid) {
        this.tid = tid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getDname() {
        return dname;
    }

    public void setDname(String dname) {
        this.dname = dname;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "_id='" + _id + '\'' +
                ", tid='" + tid + '\'' +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", age=" + age +
                ", dname='" + dname + '\'' +
                '}';
    }
}
